org.eclipse.vtp.desktop.editors.themes.mantis
Class MantisConnectorFrame
java.lang.Object
org.eclipse.vtp.desktop.editors.themes.mantis.MantisComponentFrame
org.eclipse.vtp.desktop.editors.themes.mantis.MantisConnectorFrame
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener, UIComponentListener, ComponentFrame, ConnectorFrame, ThematicFrame
public class MantisConnectorFrame
- extends MantisComponentFrame
- implements ConnectorFrame
|
Method Summary |
void |
adjustPosition(int xoffset,
int yoffset)
|
org.eclipse.swt.graphics.Rectangle |
getBounds()
|
org.eclipse.swt.graphics.Point |
getLineSegmentCenterPoint(int idex)
|
UIConnector |
getUIConnector()
|
void |
initializeGraphics(org.eclipse.swt.graphics.GC gc,
java.util.Map resourceMap)
|
void |
mouseDoubleClick(CommandListener commandListener,
int x,
int y,
int modifiers)
|
void |
mouseDown(CommandListener commandListener,
int x,
int y,
int modifiers)
|
void |
mouseMove(CommandListener commandListener,
int x,
int y,
int modifiers)
|
void |
mouseUp(CommandListener commandListener,
int x,
int y,
int modifiers)
|
void |
renderFrame(org.eclipse.swt.graphics.GC gc,
int renderingPhase,
int options,
java.util.Map resourceMap)
|
void |
setSelected(boolean selected)
|
void |
toggleMidPoint(int x,
int y)
|
boolean |
touchesComponent(int x,
int y)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MantisConnectorFrame
public MantisConnectorFrame(ElementFrame source,
ElementFrame destination,
UIConnector uiConnector)
getUIConnector
public UIConnector getUIConnector()
- Specified by:
getUIConnector in interface ConnectorFrame
adjustPosition
public void adjustPosition(int xoffset,
int yoffset)
- Specified by:
adjustPosition in interface ComponentFrame
getBounds
public org.eclipse.swt.graphics.Rectangle getBounds()
- Specified by:
getBounds in interface ComponentFrame
mouseDoubleClick
public void mouseDoubleClick(CommandListener commandListener,
int x,
int y,
int modifiers)
- Specified by:
mouseDoubleClick in interface ComponentFrame- Overrides:
mouseDoubleClick in class MantisComponentFrame
mouseDown
public void mouseDown(CommandListener commandListener,
int x,
int y,
int modifiers)
- Specified by:
mouseDown in interface ComponentFrame
mouseMove
public void mouseMove(CommandListener commandListener,
int x,
int y,
int modifiers)
- Specified by:
mouseMove in interface ComponentFrame
mouseUp
public void mouseUp(CommandListener commandListener,
int x,
int y,
int modifiers)
- Specified by:
mouseUp in interface ComponentFrame
getLineSegmentCenterPoint
public org.eclipse.swt.graphics.Point getLineSegmentCenterPoint(int idex)
renderFrame
public void renderFrame(org.eclipse.swt.graphics.GC gc,
int renderingPhase,
int options,
java.util.Map resourceMap)
- Specified by:
renderFrame in interface ThematicFrame- Overrides:
renderFrame in class MantisComponentFrame
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected in interface ComponentFrame
touchesComponent
public boolean touchesComponent(int x,
int y)
- Specified by:
touchesComponent in interface ComponentFrame
initializeGraphics
public void initializeGraphics(org.eclipse.swt.graphics.GC gc,
java.util.Map resourceMap)
- Specified by:
initializeGraphics in interface ComponentFrame
toggleMidPoint
public void toggleMidPoint(int x,
int y)
- Specified by:
toggleMidPoint in interface ConnectorFrame